package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_DEDUCTDETAIL database table.
 * 
 */
@Entity
@Table(name="CC_DEDUCTDETAIL")
@NamedQuery(name="CcDeductdetail.findAll", query="SELECT c FROM CcDeductdetail c")
public class CcDeductdetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_DEDUCTDETAIL_DDETAILID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_DEDUCTDETAIL_DDETAILID_GENERATOR")
	private long ddetailid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date dddate;

	private BigDecimal ddeductid;

	private BigDecimal ddmoney;

	private String ddname;

	public CcDeductdetail() {
	}

	public long getDdetailid() {
		return this.ddetailid;
	}

	public void setDdetailid(long ddetailid) {
		this.ddetailid = ddetailid;
	}

	public Date getDddate() {
		return this.dddate;
	}

	public void setDddate(Date dddate) {
		this.dddate = dddate;
	}

	public BigDecimal getDdeductid() {
		return this.ddeductid;
	}

	public void setDdeductid(BigDecimal ddeductid) {
		this.ddeductid = ddeductid;
	}

	public BigDecimal getDdmoney() {
		return this.ddmoney;
	}

	public void setDdmoney(BigDecimal ddmoney) {
		this.ddmoney = ddmoney;
	}

	public String getDdname() {
		return this.ddname;
	}

	public void setDdname(String ddname) {
		this.ddname = ddname;
	}

}